#include "WChess.h"
#include <iostream>
using namespace std;

void WChess::DumpChessBoard()
{
	char board[6][6];
	// 0 1 2 3 4 5
	// 1
	// 2
	// 3
	// 4
	// 5
	for(int i=1;i<=4;i++)
	{
		for(int j=1;j<=4;j++)
		{
			board[i][j]=a[i-1][j-1]+'0';
		}
	}

	for(int i=1;i<=4;i++)
	{
		board[5][i]=board[0][i] = (i-1)+'a';
		board[i][0]=board[i][5]= i+ '0';
	}

	board[0][0]=0;
	board[0][5]=0;
	board[5][0]=0;
	board[5][5]=0;

	for(int i=0;i<6;i++)
	{
		for(int j=0;j<6;j++)
		{
			if(board[i][j]!=0)
				cout<<board[i][j]<<" ";
			else
				cout<<"  ";
		}
		cout<<endl;
	}
}